<%-- 
    Document   : elelst
    Created on : Oct 28, 2012, 11:41:31 PM
    Author     : Swami
--%>

<%@page import="java.util.ArrayList"%>
<%@page import="survey_dlt.eligibility"%>
<%@page import="survey_dlt.controller.editcmt"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../../mastertemplate/header.jsp"%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h3>Elegibility</h3>
    <%
        
        editcmt s =new editcmt();
      eligibility cu=new eligibility();
        ArrayList array = new ArrayList();  
        Object result = request.getAttribute("Elegibility");  
//        out.println("hello");
        //String abc=request.getAttribute("event").toString();
        array = (ArrayList<eligibility>) result;  
        //out.println(abc);
        out.println("<h1> Elegibility </h1> <table border=1>");
        for(int i=0;i<array.size();i++)
         {
            
        cu= (eligibility) array.get(i);
        out.println("<form action='commupd' method='post'>");
        out.println("<tr><td>Commmittee Id<td><input type='text' name='cid' value='" +cu.getCom_id()+"'>");  
        out.println("<tr><td>CPI<td><input type='text' name='cpi' value='" +cu.getCpi()+"'>");
        out.println("<tr><td>Backlogs <td><input type='text' name='bk' value='" +cu.getBacklog()+"'>");
        out.println("<tr><td>Hostel<td><input type='text' name='ht' value='"+cu.getHostel()+"'>");
        
        out.println("<tr><td><input type='hidden' name='sn' value='"+cu.getCom_id()+"'><input type='submit' value='Save'  id='"+cu.getCom_id()+"'/>");
        //out.println("<a href='../qrydlt'><td><input type='button' value='Delete' name='"+ds.getSid()+"' id='"+ds.getSid()+"'></td></a>");
                  
        
         }
        out.println("<table>");
       
        %>
        &nbsp;
        <%@include file="../../mastertemplate/footer.jsp"%>

    </body>
</html>
